<?php

use Bete\Foundation\Application;

if (!function_exists('app')) {
    function app($make = null, $parmas = [])
    {
        if (is_null($make)) {
            return Application::getInstance();
        }

        return Application::getInstance()->make($make, $parmas);
    }
}
